import React from 'react'
import { NavLink, Outlet } from 'react-router-dom'
import './index.scss'
const IndexPage = () => {
  return (
    <div>
        <ul className='nav'>
            <NavLink to="/home">Home</NavLink>
            <NavLink to="/about">About</NavLink>
            <NavLink to="/todo">Todo</NavLink>
            <Outlet/>
        </ul>
    </div>
  )
}

export default IndexPage